remove some explicit #defines of PROFILE_FILE_CHOOSER because they break
authorMichael Natterer <mitch@gimp.org>
Fri, 7 Oct 2005 18:51:30 +0000 (18:51 +0000)
committerMichael Natterer <mitch@src.gnome.org>
Fri, 7 Oct 2005 18:51:30 +0000 (18:51 +0000)
2005-10-07  Michael Natterer  <mitch@gimp.org>

* gtk/gtkfilechooserdefault.c: remove some explicit #defines of
PROFILE_FILE_CHOOSER because they break compilation after the
removal of <unistd.h>.

ChangeLog
ChangeLog.pre-2-10
gtk/gtkfilechooserdefault.c

index 00467845a83fd8cce911d65221489a3115722812..2e2a2b08d535a35ed2bb3cbe716cc6876426852d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-10-07  Michael Natterer  <mitch@gimp.org>
+
+       * gtk/gtkfilechooserdefault.c: remove some explicit #defines of
+       PROFILE_FILE_CHOOSER because they break compilation after the
+       removal of <unistd.h>.
+
 2005-10-07   Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkfilechooserdefault.c: Remove a redundant (and
index 00467845a83fd8cce911d65221489a3115722812..2e2a2b08d535a35ed2bb3cbe716cc6876426852d 100644 (file)
@@ -1,3 +1,9 @@
+2005-10-07  Michael Natterer  <mitch@gimp.org>
+
+       * gtk/gtkfilechooserdefault.c: remove some explicit #defines of
+       PROFILE_FILE_CHOOSER because they break compilation after the
+       removal of <unistd.h>.
+
 2005-10-07   Matthias Clasen  <mclasen@redhat.com>
 
        * gtk/gtkfilechooserdefault.c: Remove a redundant (and
index f688f35f1d55a5ef499764ca57dd9876423d0b00..08a2e6caebc38112da95544e1b3d18917bf2a240 100644 (file)
@@ -658,11 +658,9 @@ static void
 gtk_file_chooser_default_init (GtkFileChooserDefault *impl)
 {
   profile_start ("start", NULL);
-#define PROFILE_FILE_CHOOSER
 #ifdef PROFILE_FILE_CHOOSER
   access ("MARK: *** CREATE FILE CHOOSER", F_OK);
 #endif
-#undef PROFILE_FILE_CHOOSER
   impl->local_only = TRUE;
   impl->preview_widget_active = TRUE;
   impl->use_preview_label = TRUE;
@@ -5215,11 +5213,9 @@ browse_files_model_finished_loading_cb (GtkFileSystemModel    *model,
 
   pending_select_paths_process (impl);
   set_busy_cursor (impl, FALSE);
-#define PROFILE_FILE_CHOOSER
 #ifdef PROFILE_FILE_CHOOSER
   access ("MARK: *** FINISHED LOADING", F_OK);
 #endif
-#undef PROFILE_FILE_CHOOSER
 
   profile_end ("end", NULL);
 }